﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApplication2.Controllers
{

    [ApiController]
    [Route("home2")]
    public class HomeController2 : ControllerBase
    {

        [HttpGet("index")] // http://localhost:5000/home2/index
        public string Index()
        {
            return "hello index";
        }
    }
}
